#!/usr/bin/env python3
# -*- coding=utf-8 -*-
# 题目：列表排序及连接。

def f1():
    from random import randint
    a = []
    for i in range(10):
        a.append(randint(1, 100))
    print(a)
    a.sort()
    b = []
    for i in range(10):
        b.append(randint(1, 100))
    a = a+b
    a.sort()
    print(a)


f = f1
if __name__ == "__main__":
    f()
